<%@ page import="com.dbb.Item" %>



<div class="fieldcontain ${hasErrors(bean: itemInstance, field: 'ctn', 'error')} required">
	<label for="ctn">
		<g:message code="item.ctn.label" default="Ctn" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="ctn" name="ctn.id" from="${com.dbb.Ctn.list()}" optionKey="id" required="" value="${itemInstance?.ctn?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: itemInstance, field: 'ctnNum', 'error')} required">
	<label for="ctnNum">
		<g:message code="item.ctnNum.label" default="Ctn Num" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="ctnNum" type="number" value="${itemInstance.ctnNum}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: itemInstance, field: 'price', 'error')} required">
	<label for="price">
		<g:message code="item.price.label" default="Price" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="price" value="${fieldValue(bean: itemInstance, field: 'price')}" required=""/>
</div>

